﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200092D RID: 2349
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class HMBOAEFMEMP : IMessage<HMBOAEFMEMP>, IMessage, IEquatable<HMBOAEFMEMP>, IDeepCloneable<HMBOAEFMEMP>, IBufferMessage
	{
		// Token: 0x17001DC8 RID: 7624
		// (get) Token: 0x0600696F RID: 26991 RVA: 0x0011B6CB File Offset: 0x001198CB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<HMBOAEFMEMP> Parser
		{
			get
			{
				return HMBOAEFMEMP._parser;
			}
		}

		// Token: 0x17001DC9 RID: 7625
		// (get) Token: 0x06006970 RID: 26992 RVA: 0x0011B6D2 File Offset: 0x001198D2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return HMBOAEFMEMPReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001DCA RID: 7626
		// (get) Token: 0x06006971 RID: 26993 RVA: 0x0011B6E4 File Offset: 0x001198E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return HMBOAEFMEMP.Descriptor;
			}
		}

		// Token: 0x06006972 RID: 26994 RVA: 0x0011B6EB File Offset: 0x001198EB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HMBOAEFMEMP()
		{
		}

		// Token: 0x06006973 RID: 26995 RVA: 0x0011B6F4 File Offset: 0x001198F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HMBOAEFMEMP(HMBOAEFMEMP other) : this()
		{
			this.scoreId_ = other.scoreId_;
			this.fOEHLABGICC_ = other.fOEHLABGICC_;
			this.rank_ = other.rank_;
			this.gBKIEEKEJKD_ = other.gBKIEEKEJKD_;
			this.hp_ = other.hp_;
			this.kBNIFCHMAOB_ = other.kBNIFCHMAOB_;
			this.lHFPBNAIABI_ = other.lHFPBNAIABI_;
			this.state_ = other.state_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006974 RID: 26996 RVA: 0x0011B778 File Offset: 0x00119978
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HMBOAEFMEMP Clone()
		{
			return new HMBOAEFMEMP(this);
		}

		// Token: 0x17001DCB RID: 7627
		// (get) Token: 0x06006975 RID: 26997 RVA: 0x0011B780 File Offset: 0x00119980
		// (set) Token: 0x06006976 RID: 26998 RVA: 0x0011B788 File Offset: 0x00119988
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ScoreId
		{
			get
			{
				return this.scoreId_;
			}
			set
			{
				this.scoreId_ = value;
			}
		}

		// Token: 0x17001DCC RID: 7628
		// (get) Token: 0x06006977 RID: 26999 RVA: 0x0011B791 File Offset: 0x00119991
		// (set) Token: 0x06006978 RID: 27000 RVA: 0x0011B799 File Offset: 0x00119999
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FOEHLABGICC
		{
			get
			{
				return this.fOEHLABGICC_;
			}
			set
			{
				this.fOEHLABGICC_ = value;
			}
		}

		// Token: 0x17001DCD RID: 7629
		// (get) Token: 0x06006979 RID: 27001 RVA: 0x0011B7A2 File Offset: 0x001199A2
		// (set) Token: 0x0600697A RID: 27002 RVA: 0x0011B7AA File Offset: 0x001199AA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Rank
		{
			get
			{
				return this.rank_;
			}
			set
			{
				this.rank_ = value;
			}
		}

		// Token: 0x17001DCE RID: 7630
		// (get) Token: 0x0600697B RID: 27003 RVA: 0x0011B7B3 File Offset: 0x001199B3
		// (set) Token: 0x0600697C RID: 27004 RVA: 0x0011B7BB File Offset: 0x001199BB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GBKIEEKEJKD
		{
			get
			{
				return this.gBKIEEKEJKD_;
			}
			set
			{
				this.gBKIEEKEJKD_ = value;
			}
		}

		// Token: 0x17001DCF RID: 7631
		// (get) Token: 0x0600697D RID: 27005 RVA: 0x0011B7C4 File Offset: 0x001199C4
		// (set) Token: 0x0600697E RID: 27006 RVA: 0x0011B7CC File Offset: 0x001199CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Hp
		{
			get
			{
				return this.hp_;
			}
			set
			{
				this.hp_ = value;
			}
		}

		// Token: 0x17001DD0 RID: 7632
		// (get) Token: 0x0600697F RID: 27007 RVA: 0x0011B7D5 File Offset: 0x001199D5
		// (set) Token: 0x06006980 RID: 27008 RVA: 0x0011B7DD File Offset: 0x001199DD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint KBNIFCHMAOB
		{
			get
			{
				return this.kBNIFCHMAOB_;
			}
			set
			{
				this.kBNIFCHMAOB_ = value;
			}
		}

		// Token: 0x17001DD1 RID: 7633
		// (get) Token: 0x06006981 RID: 27009 RVA: 0x0011B7E6 File Offset: 0x001199E6
		// (set) Token: 0x06006982 RID: 27010 RVA: 0x0011B7EE File Offset: 0x001199EE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool LHFPBNAIABI
		{
			get
			{
				return this.lHFPBNAIABI_;
			}
			set
			{
				this.lHFPBNAIABI_ = value;
			}
		}

		// Token: 0x17001DD2 RID: 7634
		// (get) Token: 0x06006983 RID: 27011 RVA: 0x0011B7F7 File Offset: 0x001199F7
		// (set) Token: 0x06006984 RID: 27012 RVA: 0x0011B7FF File Offset: 0x001199FF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EOFOHACMKEP State
		{
			get
			{
				return this.state_;
			}
			set
			{
				this.state_ = value;
			}
		}

		// Token: 0x06006985 RID: 27013 RVA: 0x0011B808 File Offset: 0x00119A08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as HMBOAEFMEMP);
		}

		// Token: 0x06006986 RID: 27014 RVA: 0x0011B818 File Offset: 0x00119A18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(HMBOAEFMEMP other)
		{
			return other != null && (other == this || (this.ScoreId == other.ScoreId && this.FOEHLABGICC == other.FOEHLABGICC && this.Rank == other.Rank && this.GBKIEEKEJKD == other.GBKIEEKEJKD && this.Hp == other.Hp && this.KBNIFCHMAOB == other.KBNIFCHMAOB && this.LHFPBNAIABI == other.LHFPBNAIABI && this.State == other.State && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006987 RID: 27015 RVA: 0x0011B8C4 File Offset: 0x00119AC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ScoreId != 0U)
			{
				num ^= this.ScoreId.GetHashCode();
			}
			if (this.FOEHLABGICC != 0U)
			{
				num ^= this.FOEHLABGICC.GetHashCode();
			}
			if (this.Rank != 0U)
			{
				num ^= this.Rank.GetHashCode();
			}
			if (this.GBKIEEKEJKD != 0U)
			{
				num ^= this.GBKIEEKEJKD.GetHashCode();
			}
			if (this.Hp != 0U)
			{
				num ^= this.Hp.GetHashCode();
			}
			if (this.KBNIFCHMAOB != 0U)
			{
				num ^= this.KBNIFCHMAOB.GetHashCode();
			}
			if (this.LHFPBNAIABI)
			{
				num ^= this.LHFPBNAIABI.GetHashCode();
			}
			if (this.State != EOFOHACMKEP.Match3PlayerStateAlive)
			{
				num ^= this.State.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06006988 RID: 27016 RVA: 0x0011B9B8 File Offset: 0x00119BB8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006989 RID: 27017 RVA: 0x0011B9C0 File Offset: 0x00119BC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600698A RID: 27018 RVA: 0x0011B9CC File Offset: 0x00119BCC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.GBKIEEKEJKD != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.GBKIEEKEJKD);
			}
			if (this.FOEHLABGICC != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.FOEHLABGICC);
			}
			if (this.Hp != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.Hp);
			}
			if (this.State != EOFOHACMKEP.Match3PlayerStateAlive)
			{
				output.WriteRawTag(80);
				output.WriteEnum((int)this.State);
			}
			if (this.KBNIFCHMAOB != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.KBNIFCHMAOB);
			}
			if (this.ScoreId != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.ScoreId);
			}
			if (this.LHFPBNAIABI)
			{
				output.WriteRawTag(112);
				output.WriteBool(this.LHFPBNAIABI);
			}
			if (this.Rank != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.Rank);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600698B RID: 27019 RVA: 0x0011BACC File Offset: 0x00119CCC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ScoreId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ScoreId);
			}
			if (this.FOEHLABGICC != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FOEHLABGICC);
			}
			if (this.Rank != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Rank);
			}
			if (this.GBKIEEKEJKD != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GBKIEEKEJKD);
			}
			if (this.Hp != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Hp);
			}
			if (this.KBNIFCHMAOB != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.KBNIFCHMAOB);
			}
			if (this.LHFPBNAIABI)
			{
				num += 2;
			}
			if (this.State != EOFOHACMKEP.Match3PlayerStateAlive)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.State);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600698C RID: 27020 RVA: 0x0011BBA8 File Offset: 0x00119DA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(HMBOAEFMEMP other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ScoreId != 0U)
			{
				this.ScoreId = other.ScoreId;
			}
			if (other.FOEHLABGICC != 0U)
			{
				this.FOEHLABGICC = other.FOEHLABGICC;
			}
			if (other.Rank != 0U)
			{
				this.Rank = other.Rank;
			}
			if (other.GBKIEEKEJKD != 0U)
			{
				this.GBKIEEKEJKD = other.GBKIEEKEJKD;
			}
			if (other.Hp != 0U)
			{
				this.Hp = other.Hp;
			}
			if (other.KBNIFCHMAOB != 0U)
			{
				this.KBNIFCHMAOB = other.KBNIFCHMAOB;
			}
			if (other.LHFPBNAIABI)
			{
				this.LHFPBNAIABI = other.LHFPBNAIABI;
			}
			if (other.State != EOFOHACMKEP.Match3PlayerStateAlive)
			{
				this.State = other.State;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600698D RID: 27021 RVA: 0x0011BC70 File Offset: 0x00119E70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600698E RID: 27022 RVA: 0x0011BC7C File Offset: 0x00119E7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 80U)
				{
					if (num <= 32U)
					{
						if (num == 8U)
						{
							this.GBKIEEKEJKD = input.ReadUInt32();
							continue;
						}
						if (num == 32U)
						{
							this.FOEHLABGICC = input.ReadUInt32();
							continue;
						}
					}
					else
					{
						if (num == 48U)
						{
							this.Hp = input.ReadUInt32();
							continue;
						}
						if (num == 80U)
						{
							this.State = (EOFOHACMKEP)input.ReadEnum();
							continue;
						}
					}
				}
				else if (num <= 104U)
				{
					if (num == 96U)
					{
						this.KBNIFCHMAOB = input.ReadUInt32();
						continue;
					}
					if (num == 104U)
					{
						this.ScoreId = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 112U)
					{
						this.LHFPBNAIABI = input.ReadBool();
						continue;
					}
					if (num == 120U)
					{
						this.Rank = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04002840 RID: 10304
		private static readonly MessageParser<HMBOAEFMEMP> _parser = new MessageParser<HMBOAEFMEMP>(() => new HMBOAEFMEMP());

		// Token: 0x04002841 RID: 10305
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002842 RID: 10306
		public const int ScoreIdFieldNumber = 13;

		// Token: 0x04002843 RID: 10307
		private uint scoreId_;

		// Token: 0x04002844 RID: 10308
		public const int FOEHLABGICCFieldNumber = 4;

		// Token: 0x04002845 RID: 10309
		private uint fOEHLABGICC_;

		// Token: 0x04002846 RID: 10310
		public const int RankFieldNumber = 15;

		// Token: 0x04002847 RID: 10311
		private uint rank_;

		// Token: 0x04002848 RID: 10312
		public const int GBKIEEKEJKDFieldNumber = 1;

		// Token: 0x04002849 RID: 10313
		private uint gBKIEEKEJKD_;

		// Token: 0x0400284A RID: 10314
		public const int HpFieldNumber = 6;

		// Token: 0x0400284B RID: 10315
		private uint hp_;

		// Token: 0x0400284C RID: 10316
		public const int KBNIFCHMAOBFieldNumber = 12;

		// Token: 0x0400284D RID: 10317
		private uint kBNIFCHMAOB_;

		// Token: 0x0400284E RID: 10318
		public const int LHFPBNAIABIFieldNumber = 14;

		// Token: 0x0400284F RID: 10319
		private bool lHFPBNAIABI_;

		// Token: 0x04002850 RID: 10320
		public const int StateFieldNumber = 10;

		// Token: 0x04002851 RID: 10321
		private EOFOHACMKEP state_;
	}
}
